package com.netsmart.dto.base;

public class ResponseDate <T>{
	    private String code;
	    private String state;
	    private String message;
	    private T data;
	    
		public ResponseDate() {
			super();
		}
		
		public ResponseDate(String code, String state, String message) {
			super();
			this.code = code;
			this.state = state;
			this.message = message;
		}

		public ResponseDate(String code, String state, String message, T data) {
			super();
			this.code = code;
			this.state = state;
			this.message = message;
			this.data = data;
		}
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getState() {
			return state;
		}
		public void setState(String state) {
			this.state = state;
		}
		public String getMessage() {
			return message;
		}
		public void setMessage(String message) {
			this.message = message;
		}
		public T getData() {
			return data;
		}
		public void setData(T data) {
			this.data = data;
		}
		@Override
		public String toString() {
			return "BaseDto [code=" + code + ", state=" + state + ", message=" + message + ", data=" + data + "]";
		}
	    
}
